// license-header java merge-point
/**
 * This is only generated once! It will never be overwritten. You can (and have to!) safely modify it by hand.
 */
package org.tinaelle.server.domain;

/**
 * @see org.tinaelle.server.domain.AdObject
 */
public class AdObjectDaoImpl extends org.tinaelle.server.domain.AdObjectDaoBase {
	/**
	 * @see org.tinaelle.server.domain.AdObjectDao#toAdObjectDTO(org.tinaelle.server.domain.AdObject)
	 */
	@Override
	public org.tinaelle.common.dto.AdObjectDTO toAdObjectDTO(final org.tinaelle.server.domain.AdObject entity) {
		return super.toAdObjectDTO( entity );
	}

	/**
	 * Retrieves the entity object that is associated with the specified value object from the object store. If no such
	 * entity object exists in the object store, a new, blank entity is created
	 */
	private org.tinaelle.server.domain.AdObject loadAdObjectFromAdObjectDTO(
	        org.tinaelle.common.dto.AdObjectDTO adObjectDTO) {
		return null;
	}

	/**
	 * @see org.tinaelle.server.domain.AdObjectDao#adObjectDTOToEntity(org.tinaelle.common.dto.AdObjectDTO)
	 */
	public org.tinaelle.server.domain.AdObject adObjectDTOToEntity(org.tinaelle.common.dto.AdObjectDTO adObjectDTO) {
		org.tinaelle.server.domain.AdObject entity = this.loadAdObjectFromAdObjectDTO( adObjectDTO );
		this.adObjectDTOToEntity( adObjectDTO, entity, true );
		return entity;
	}
}